﻿namespace Text2Rss.Web.Services
{
	using NHibernate;
	using Text2Rss.Web.Models;

	public class SecurityService : BaseService
	{
		public SecurityService(ISession session)
			: base(session)
		{
		}

		public User ValidateUser(string email, string password)
		{
			return Session.Get<User>(email);
		}
	}
}